<File OnChange="upload"></File><br>

@code{
    void upload(InputFileChangeEventArgs e)
    {
//上传逻辑
//https://docs.microsoft.com/zh-cn/aspnet/core/blazor/file-uploads?view=aspnetcore-5.0
    }
}